/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lvyh.lightframe.job;

/**
 * @author lvyh 2021/07/14.
 */
public interface Constants {

    String DEFAULT_CONFIG_VERSION = "default_1";

    String USER_LOGIN_KEY = "user_login_key";

    String SUPER_AMDIN = "super_admin";

    String SESSION_USER_INFO = "session_user_info";

    String CHARSET_UTF8 = "UTF-8";

    String DEFAULT_DISK_STORE_DIR = "/opt/lightframe/admin/config_data";

    String DEFAULT_ZK_NAMESPACE = "job_schedule";

    String PROD_RUN_ENV = "prod";

    String TEST_RUN_ENV = "test";

    String SCHEDULER_NAME = "job_scheduler";

    /**
     * Message sending eventkey
     */
    String EVENT_KEY_SCHEDULE_ALARM = "com.lvyh.lightframe.job.schedule.alarm";
}
